package com.atguigu.guli.service.edu.feign;

import com.atguigu.guli.service.base.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Service
@FeignClient("service-oss")
public interface OssFeignService {
    @GetMapping("aliyun/oss/test")
    R test();

    @DeleteMapping("aliyun/oss/delete")
    R deleteFile(@RequestBody String url );


}
